<%--
  Created by IntelliJ IDEA.
  User: z'y'l
  Date: 2021/6/21
  Time: 16:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h1>用户授权角色</h1>
<form action="auth/role/add" method="post">
    <br>用户ID-${LOGIN.uid}
    <br>用户名-${LOGIN.uname}
    <br>系统角色-
    <c:forEach items="${roles}" var="r">
        ${r.rolename}<input type="checkbox" name="myrole" value="${r.roleid}">
    </c:forEach>
    <br><button>授权</button>
</form>
</body>
</html>
